<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="sx" uri="/struts-dojo-tags"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>

		<title>My JSP 'ShowCustServer.jsp' starting page</title>

		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<sx:head parseContent="true" />

	</head>

	<body>
		<s:form action="Supervisor.action" enctype="multipart/form-data">
			<table>
				<s:hidden id="hid_ssex" value="%{#session.CustServer.ssex}"></s:hidden>
			
				<s:textfield name="snum" label="工号"
					value="%{#session.CustServer.snum}"></s:textfield>

				<s:select name="sauthority" list="{'普通客服','客户经理','管理员'}"
					label="客户权限" headerKey="0" headerValue="---请选择客服权限---"></s:select>

				<s:textfield name="sname" label="姓名"
					value="%{#session.CustServer.sname}"></s:textfield>
				<s:radio name="ssex" cssClass="radio" list="{'男','女'}"
					value="{'1','0'}" label="性别"></s:radio>

				<sx:datetimepicker label="出生年月" name="sage"
					value="%{#session.CustServer.sage}"></sx:datetimepicker>

				<s:file name="photo" label="头像"></s:file>

				<s:submit value="修改" method="updateCustServer"></s:submit>
			</table>
		</s:form>


	</body>
</html>
